# 定义学生的类
class student(object):
    def __init__(self):
        self.name = ''
        self.ID = ''
        self.score = ''


stulist = []
stu = student( )
stu.ID = '123'
print( stu.ID )
stu.name = '请问'
stu.score = '123'
print( stu )
stulist.append( stu )
print( stulist )
